
#ifndef PROJECTZ_NUSER_NCOMMAND_CS_REQ_USER_INFO_DEFAULT_H_
#define PROJECTZ_NUSER_NCOMMAND_CS_REQ_USER_INFO_DEFAULT_H_

#include "../../engine.h"
#include "../../User.h"
#include "../../NLogic/Function.h"
#include "../../NLogic/BattleAbility.h"


namespace ProjectZ { namespace NCommand { namespace NWorld {

class CS_REQ_USER_INFO_DEFAULT
{
public:
	static void OnExecute(User * pUser, ::Network::Packet * pPacket)
	{
		STRESSLOG("[CHANNEL] CS_REQ_USER_INFO_DEFAULT::ONEXECUTE");

		PREPARE_PACKET;

		//pUser->slot_number = 0;
		//pPacket->ParseMsg("%c", &pUser->slot_number);

		//::Logger::GETLOG()->ToFile(::Logger::DEBUG, "CS_REQ_USER_INFO_DEFAULT GID : %d, slot_number=%d", pUser->GetGID(), pUser->slot_number );

		NLogic::NFunction::SendCharacterDefaultInfo(pUser, pUser);

#if 0
		NLogic::BattleAbility * pBattleAbility = pUser->GetBattleAbility();
		if (NULL != pBattleAbility)
		{
			pBattleAbility->SetUserInfo();
		}
#endif
	}
};

} /*NWorld*/ } /*NCommand*/ } /*ProjectZ*/


#endif /* PROJECTZ_NUSER_NCOMMAND_CS_REQ_USER_INFO_DEFAULT_H_ */
